package com.gnote.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gnote.repair.domain.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Gnote
 * @description 针对表【sys_user(用户表)】的数据库操作Mapper
 * @createDate 2025-02-25 14:13:33
 * @Entity com.gnote.repair.domain.SysUser
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 获取用户对应的菜单权限
     *
     * @param userid 用户id
     * @return 菜单权限集合
     */
    List<String> getMenuListByUserid(@Param("userid") Long userid);
}




